package com.david.mydemo.ctl_webservice;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "USERINFO")
public class WsUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String userId;// 用户编号

    private String userAccount;// 用户账号

    private String userPw;// 用户密码

    private String userName;// 用户姓名

    private Integer userAge;// 用户年龄

    private String userSex;// 用户性别

    @XmlElement(name = "USERID")
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @XmlElement(name = "USERACCOUNT")
    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    @XmlElement(name = "USERPW")
    public String getUserPw() {
        return userPw;
    }

    public void setUserPw(String userPw) {
        this.userPw = userPw;
    }

    @XmlElement(name = "USERNAME")
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @XmlElement(name = "USERAGE")
    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    @XmlElement(name = "USERSEX")
    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    @Override
    public String toString() {
        return "UserInfo [userId=" + userId + ", userAccount=" + userAccount + ", userPw=" + userPw + ", userName="
                + userName + ", userAge=" + userAge + ", userSex=" + userSex + "]";
    }


}
